require 'json/add/rails'
require 'extract/extractor'

module Extract
  
  class JsonExtractor < Extract::Extractor
    
    def initialize(opt = {})
      super opt
    end
    
    protected
    
    def open_doc doc
      js = JSON.parse(doc)
    end
  end
  
end